$(function () {
});
function myFunction(){
	var userCode = $("#userCode").val();
	var password = $("password").val();
	var data = {userCode:userCode,password:password};
	$.ajax({
		type: 'POST',
		url: '/sys/login.do',
		data: data,
		dataType: 'json',
		success: function(res) {
               console.log(res);
         },
		error: function(res) {
			alertify.error("数据传输错误！");
		}
	});
}